import axios from "axios";


const instance = axios.create({
    baseURL: "http://rap2.taobao.org:38080/app/mock/266120/",
});

export function getContent() {
    return instance({
        url: '/Content',
        method: 'get'
    });
  }
export function getLeftOne() {
    return instance({
        url: '/LeftOne',
        method: 'get'
    });
}
export function getRightOne() {
    return instance({
        url: '/RightOne',
        method: 'get'
    });
}
export function getRightTwo() {
    return instance({
        url: '/RightTwo',
        method: 'get'
    });
}

export function getTrend() {
    return instance({
        url: '/Trend',
        method: 'get'
    });
  }
  
export function getLinesData() {
    return instance({
        url: '/LinesData',
        method: 'get'
    });
  }
